<?php
namespace app\controllers;
use Yii;
use yii\rest\ActiveController;
use app\models\Data;
use app\models\DataSearch;

use yii\data\Pagination;
use yii\data\ActiveDataProvider;
use app\models\UserBackend;
class item{
   public $title;
   public $count;
}
class WindowController extends ActiveController
{
    public $modelClass = 'app\models\Window';

    
    public function actions()
    {
        $actions = parent::actions();
        unset( $actions['index']);
        return $actions;
    }
    public function actionFile(){
    
    }
    public function actionIndex()
    {
       $d = new item();
       $d->title = "模型看板";
       $d->count = 1;
       return $d;
    }
}
